import request from '@/utils/request';

//获取快捷方式数据
export function getQuickAccess() {
	return request({
		method: 'get',
		url: 'tbSysUserQuick/queryList'
	})
}

//批量添加快捷方式
export function batchAddQuickAccess(data) {
	return request({
		method: 'post',
		url: 'tbSysUserQuick/addBatch',
		data: data
	})
}

//清空快捷方式
export function clearQuickAccess() {
	return request({
		method: 'get',
		url: 'tbSysUserQuick/deleteAll'
	})
}